package com.sky.service;

import com.sky.dto.*;
import com.sky.entity.Orders;
import com.sky.result.PageResult;
import com.sky.vo.OrderPaymentVO;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;

public interface OrderService {
    OrderSubmitVO add(OrdersSubmitDTO ordersSubmitDTO);
    OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO) throws Exception;
    void paySuccess(String outTradeNo);
    PageResult search(String page,String pageSize,String status);
    Orders getOrderDetail(Long id);
    void cancel(Long id);
    void repetition(Long id);
    PageResult conditionSearch(OrdersPageQueryDTO ordersPageQueryDTO);
    OrderStatisticsVO statistics();
    OrderVO details(Long id);
    void confirm(OrdersConfirmDTO ordersConfirmDTO);
    void rejection(OrdersRejectionDTO ordersRejectionDTO) throws Exception;
    void cancelByAdmin(OrdersCancelDTO ordersCancelDTO) throws Exception;
    void delivery(Long id);
    void complete(Long id);
    void reminder(Long id);
}
